package com.TeacherInfoServer.pojo.DTO;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "教师学习经历更新类")
public class UpdateLearningExperienceDTO {
    @ExcelIgnore
    private Long id;

    @ExcelProperty(value = "教师工号",index = 0)
    @ColumnWidth(20)
    private String teacherId;

    @ExcelProperty(value = "学历",index = 1)
    @ColumnWidth(20)
    private String degree;

    @ExcelProperty(value = "毕业学校",index = 2)
    @ColumnWidth(20)
    private String graduationSchool;

    @ExcelProperty(value = "专业",index = 3)
    @ColumnWidth(20)
    private String major;

    @ExcelProperty(value = "毕业时间",index = 4)
    @ColumnWidth(20)
    private String graduationDate;
}
